﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Column.Dental.IdentityProvider.Windows
{
    public class WindowsIdentityProvider : IdentityProvider
    {
        public override Guid Id
        {
            get { return new Guid("7d97ac72-3b41-4a3b-9e4c-934b19861922"); }
        }

        public override string Name
        {
            get { return "Windows Identity Provider"; }
        }

        protected override string GetToken()
        {
            return string.Format(@"{0}\{1}", Environment.UserDomainName, Environment.UserName);
        }
    }
}
